package com.shop.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wzby
 * @Date: 2022/12/7 14:21
 */
@Data
public class AddressDto {
    private Integer id;
    private Integer memberId;
    private String name;
    private String phone;
    private String province;
    private String city;
    private String county;
    private String zipCode;
    private String detail;
    private LocalDateTime lastUpdateTime = LocalDateTime.now();
    private Boolean isDefault  = false;

    private String tel;
    private String address;

    public String getTel() {
        return this.phone;
    }
    public String getAddress(){
        return  this.province+ this.city + this.county + this.detail;
    }
}
